home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / zap33.zip / ZAP.DOC < prev    next >
Text File  |  1990-08-20  |  24KB  |  480 lines

  1.  
  2.          ZAP - by Ken Stillson    April 1990     Updated for version 3.3
  3.        
  4.                                   =-=-=-=-=-=-=
  5.  
  6.         -=-  ZAP IS NOT "FREEWARE" - PLEASE READ THE FILE LICENSE.DOC  -=-
  7.         -=-       IF YOU DECIDE TO USE ZAP ON YOUR COMPUTER(S).        -=-
  8.        
  9.                                   =-=-=-=-=-=-=
  10.                                   What is ZAP ?
  11.                                   =-=-=-=-=-=-=
  12.  
  13.        > In General
  14.  
  15.            Zap is one of the growing number of utilities that does a 
  16.        little too much to generalize its function completely.  As well as 
  17.        it's basic functions, ZAP has a lot of short cuts for doing all 
  18.        sorts of common operations.  It is intended to be useful enough to 
  19.        be a replacement for the COMMAND.COM user interface.
  20.        
  21.        > The Menus
  22.        
  23.            On the right hand side of the screen is a menu box.  There are 
  24.        three different boxes needed to list all the ZAP functions, and two 
  25.        for the current values of all the F4 macros.  Press the space bar 
  26.        to rotate though the menus, or alt-x to jump to menu number x.
  27.        
  28.        > The Beginning
  29.        
  30.            It's original concept and basic format were taken from the 
  31.        program "Directory Control" [DC.COM].  The author very much thanks 
  32.        the original author of DC, and congratulates him/her on their 
  33.        excellent program.  Alas, the author of ZAP has been unable to 
  34.        determine the identity of the author of DC because the 
  35.        documentation for DC was not included on the BBS copy of DC the 
  36.        author obtained.  PLEASE - do not remove authors credit for their 
  37.        hard work by removing necessary documentation from programs - it's 
  38.        just not fair !
  39.  
  40.        > Moving Around the Directory Tree
  41.        
  42.            ZAP displays the current directory, one file per line, giving 
  43.        basic information about the files.  If the list is longer than one 
  44.        screen, the cursor keys (include page-up and page-down) can be used 
  45.        to look around the list.  
  46.        
  47.            You can change the way the list is sorted.  Hold down Ctrl and 
  48.        press N for Name, E for extension, S for size, D for date, or O for 
  49.        original (no sort).  Sub-directories are sorted separately, and 
  50.        put at the beginning, always sorted by their name.  Ctrl-R will 
  51.        set the Reverse sort mode, which is a saved default (see "setting
  52.        defaults" below).
  53.        
  54.            ZAP allows you to easily change the current directory.  Use the 
  55.        cursor keys to move the high-light bar onto the name of a directory 
  56.        you want to change to, and press return.  The ".." selection will 
  57.        go to the parent of the current directory, the "." key will simply 
  58.        reload the current one and re-draw the screen.  You can short-cut 
  59.        to the previous directory by pressing ".", and short-cut to the 
  60.        root directory of the current drive by pressing "/" or "\". 
  61.        
  62.            You can also jump directly to an entry (without using the 
  63.        cursor keys), by pressing the first letter of the name of the 
  64.        entry.  Then press return to select that directory.  To short-cut 
  65.        pressing return, hold down shift as you press the letter. 
  66.        
  67.            To type in a full directory name to change to, press F9.
  68.        This also allows you to change the current drive.  Playing with 
  69.        this a little will demonstrate: ZAP lets you move around a very 
  70.        large directory tree very quickly and very easily.
  71.        
  72.        > Basic File Operations
  73.        
  74.            ZAP also allows file operations.  Pressing return when 
  75.        high-lighting a file rather than a directory will run a command 
  76.        upon the highlighted file.  The idea is this: 
  77.        
  78.            RETURN- views the file
  79.            shift-RETURN- edits the file
  80.            ctrl-RETURN- runs the file
  81.        
  82.            For the view and edit functions- you must select your own 
  83.        favorite programs to do the operation.  You may wish to use the DOS 
  84.        "type" and "edlin" programs.  See below in the "Setting Defaults" 
  85.        section for how to change the programs used. 
  86.        
  87.        The first four function keys also provide file operations.  
  88.            F1 - copy file
  89.            F2 - delete  file
  90.            F3 - move / rename file
  91.            F4 - do ANYTHING to the file
  92.        
  93.            F4 is one of the very special (unique?) features of ZAP.
  94.        
  95.            The whole idea of these functions is that they work on either a 
  96.        single file (the highlighted one), or on a set of files (the marked 
  97.        or memorized files).  F1-3 are obvious normal functions.  Note that 
  98.        the delete and move operations are very fast.
  99.            F4 works like this: You enter any DOS command using a "@" 
  100.        character instead of an individual filename.  ZAP will sequentially 
  101.        replace the @ by each file that is selected.  
  102.            For example, let's say you have a set of files that you would 
  103.        like to have sorted.  You have a program called SORT which takes 
  104.        its first parameter as the source file and its second parameter as 
  105.        the destination file.  Now all you have to do to sort all these 
  106.        files is mark the ones you wish sorted (see below for how to mark 
  107.        files), press F4 and type the command:
  108.        
  109.        SORT @ _@
  110.        
  111.            What does this do?  ZAP will replace both "@"'s with the first file 
  112.        that is marked, thus from that file to a file which has the same 
  113.        name, but with a "_" as the first character.  This is because many 
  114.        such programs will not allow the source and destination files to 
  115.        have the exact same name.  After executing this command, ZAP will 
  116.        do it again with the second marked file, and so on.
  117.        
  118.            Note that by use of the ";" to separate commands, you can 
  119.        execute multiple commands on each file.  So if you wanted to have 
  120.        the destination names match the original ones, you might use:
  121.        
  122.        SORT @ temp; del @; ren temp @
  123.        
  124.            This will sort to the file named temp, remove the unsorted 
  125.        file, and rename the temp file to the original's name.  Again it 
  126.        will be executed sequentially for each marked file.
  127.        
  128.        
  129.        
  130.        > File Marking Procedures and Short-Cuts
  131.        
  132.            The most basic way to mark files is with the + key or right 
  133.        arrow key.  To unmark files, use the - or left arrow key.  As 
  134.        usual, the first letter can be used to jump to a filename quickly 
  135.        to mark or unmark it.  The following function keys also help out in 
  136.        marking files:
  137.        
  138.            F5 - clear all marks
  139.            F6 - mark all files
  140.            F7 - toggle all marks (reverse marked and unmarked files)
  141.  
  142.            shift-F5 - clear all marks below highlighted file
  143.            shift-F6 - mark all files below highlighted file
  144.            shift-F7 - toggle all marks below highlighted file
  145.        
  146.        
  147.        > The "Memorized Files"
  148.        
  149.            Here are just a few of some uses of ZAP's ability to memorize a 
  150.        list of files: 
  151.        
  152.        - Each time a command is executed, ZAP loses its list of marks.  
  153.        Obviously, if you want to process a list more than once, this would 
  154.        be terrible.  ZAP offers several alternatives to saving a list in 
  155.        memory or on disk. 
  156.        
  157.        - Marks can only mark the files in the current directory.  However, 
  158.        sometimes you want to operate on files in more than one directory 
  159.        in a single process.  By appending marked file's pathnames to the 
  160.        memorized list, you can effectively ZAP files in more than one 
  161.        directory. 
  162.        
  163.            The ZAP memory list allows up to 99 files to "memorized."  You 
  164.        can perform an F4-type function on the entire memorized list 
  165.        instead of on the current directory's marks.  To do this, just use 
  166.